package com.ml.mall.bean.req.catalogue;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @description description
 * @author yx
 * @date 2021/8/27
 * @version 1.0
*/
@ApiModel(value = "收藏夹编辑model")
@Data
public class CatalogueEditDto {
    @ApiModelProperty(value = "主键Id")
    @NotNull(message = "主键Id不可为空")
    private Long id;

    @ApiModelProperty(value = "优先类型：0：不优先；1：优先")
    private Integer prefferedType;
}
